<?php
include_once("ConnectionManager.php");
	
function insertDishInDay($dishId, $dayId){
	$sql = "INSERT INTO DISH_IN_DAY (DISH_ID, DAY_ID) VALUES ($dishId, $dayId)";
	ConnectionManager::getInstance()->setQuery($sql);
    return ConnectionManager::getInstance()->query();
}

function deleteDishInDay($dishId, $dayId){
	$sql = "DELETE FROM DISH_IN_DAY WHERE DISH_ID = $dishId and DAY_ID = $dayId";
	ConnectionManager::getInstance()->setQuery($sql);
    return ConnectionManager::getInstance()->query();
}
?>